package org.mcflier.appuntamento.tasks;

import java.util.Properties;

import org.mcflier.appuntamento.core.Factory;
import org.mcflier.appuntamento.core.exception.ModulesException;
import org.mcflier.appuntamento.core.properties.PropertiesManager;
import org.mcflier.appuntamento.io.driver.db.JDBCDriver;

public class CheckImdbListTask extends AbstractTask {
	
	private Properties properties;
	private JDBCDriver jdbc;

	public CheckImdbListTask(String name, long delay) throws ModulesException {
		super(name, delay);
		
		Factory factory = Factory.getInstance();
		this.properties = ((PropertiesManager)factory.getModuleInstance(Factory.MODULE_PROPERTIES)).getProperties();
		this.jdbc = (JDBCDriver)factory.getModuleInstance(Factory.MODULE_JDBC);
	}

	@Override
	public void doSomething() {
		//String urlList = this.properties.getProperty(URL_LIST_TAG);
	}
}
